package com.zyb.warehouse.service.impl;

import com.zyb.warehouse.entity.Brand;
import com.zyb.warehouse.mapper.BrandMapper;
import com.zyb.warehouse.service.BrandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Description:品牌业务层接口逻辑实现
 */
@Service
public class BrandServiceImpl implements BrandService {

    @Autowired
    private BrandMapper brandMapper;

    /**
     * 查询所有品牌
     *
     * @return
     */
    public List<Brand> queryAllBrand() {
        return brandMapper.selectAllBrand();
    }
}
